XyzDataSeries
X、Y、Z 値を保持する汎用性を提供します。この DataSeriesが他の X-Y 型に割り当てられている場合は、X-Y 値がレンダリングされます(Z は無視されます)。
継承元: DataSeries<T, T>
実装: IXyzDataSeries<T, T, T>, IDataSeries<T, T>, IDataSeries, ISuspendable, IXyzDataSeries
コンストラクター
public XyzDataSeries()
xyzDataSeries = XyzDataSeries()
XyzDataSeriesクラスの新しいインスタンスを初期化します。
プロパティ
public override DataSeriesType DataSeriesType { get; }
value = xyzDataSeries.DataSeriesType
DataSeries の DataSeriesType を手に入れよう
public override bool HasValues { get; }
value = xyzDataSeries.HasValues
データシリーズに値が含まれているかどうかを調べる(空でない)
StockSharp#Xaml#Charting#Model#DataSeries#IXyzDataSeries#ZValues
Z 値が IComparable のリストとして取得
メソッド
public void Append(IEnumerable<TX> x, IEnumerable<TY> y, IEnumerable<TZ> z)
xyzDataSeries.Append(x, y, z)
X、Y0、Y1ポイントをシリーズに集約し、自動的に再描画をトリガーします。
- x
- X-値
- y
- Y値の
- z
- Z値の数値
public void Append(TX x, TY y, TZ z)
xyzDataSeries.Append(x, y, z)
単一X、Y0、Y1ポイントをシリーズに差し込み、自動的に再描画をトリガーします
- x
- X-value の
- y
- Y値の
- z
- Z値の値は
public override void Append(IEnumerable<TX> x, IEnumerable<TY>[] yValues)
xyzDataSeries.Append(x, yValues)
X、Yのポイントをシリーズにリストに追加
- x
- Xポイントの一覧
- yValues
- Yポイント一覧(シリーズタイプにより異なります)
public override void Append(TX x, TY[] yValues)
xyzDataSeries.Append(x, yValues)
X、Y をシリーズに表示
- x
- X 値
- yValues
- Y値(シリーズタイプにより異なります)
protected override void ClearColumns()
xyzDataSeries.ClearColumns()
派生したクラスにオーバーライドすると、Data Series のすべての列をクリアします。
public override IDataSeries<TX, TY> Clone()
result = xyzDataSeries.Clone()
DataSeriesの深いコピーを作成します。
public override TY GetYMaxAt(int index, TY existingYMax)
result = xyzDataSeries.GetYMaxAt(index, existingYMax)
派生クラスに上書きすると、currentMax@,@currentMax) が取得され、currentMaxが指定されたインデックスで最大になります。
- index
- 根本的なデータセットへのインデックス
- existingYMax
- 既存の最大
戻り値: 新規 YMax、Min(existingYMaxcurrentMax) です。
public override TY GetYMinAt(int index, TY existingYMin)
result = xyzDataSeries.GetYMinAt(index, existingYMin)
派生クラスに上書きすると、指定したインデックスでcurrentMin@,currentMin) が最小限にcurrentMinが取得されます。
- index
- 根本的なデータセットへのインデックス
- existingYMin
- 既存の最小限
戻り値: ミネ(existingYMincurrentMin)の新商品「YMin」が誕生しました。
public void Insert(int index, TX x, TY y, TZ z)
xyzDataSeries.Insert(index, x, y, z)
指定したインデックスでX、Y0、Y1ポイントをインサートします。自動的に再描画をトリガーします。
- index
- インサートするインデックス
- x
- X-value の
- y
- Y値の
- z
- Z値の値は
public void InsertRange(int startIndex, IEnumerable<TX> x, IEnumerable<TY> y, IEnumerable<TZ> z)
xyzDataSeries.InsertRange(startIndex, x, y, z)
指定したインデックスでX、Y0、Y1ポイントのコレクションをインサートし、自動的に再描画をトリガーします。
- startIndex
- インサートするインデックス
- x
- X-値
- y
- Y値の
- z
- Z値の数値
public override void RemoveAt(int index)
xyzDataSeries.RemoveAt(index)
指定したインデックスでX,Y値を削除します。
- index
- 削除するインデックス
public override void RemoveRange(int startIndex, int count)
xyzDataSeries.RemoveRange(startIndex, count)
指定したインデックスから始まるポイントの範囲を削除します。
- startIndex
- 要素の範囲のインデックスを解除する
- count
- 削除する要素の数
public override HitTestInfo ToHitTestInfo(int index)
result = xyzDataSeries.ToHitTestInfo(index)
派生したクラスにオーバーライドすると、指定したインデックスでデータポイントを含むHitTestInfostructを返します。
- index
- 代表取締役社長 岡本 俊一
戻り値: 代表取締役社長 佐藤 正
public override IPointSeries ToPointSeries(ResamplingMode resamplingMode, IndexRange pointRange, int viewportWidth, bool isCategoryAxis, bool? dataIsDisplayedAs2D, IRange visibleXRange, IPointResamplerFactory factory, object pointSeriesArg)
result = xyzDataSeries.ToPointSeries(resamplingMode, pointRange, viewportWidth, isCategoryAxis, dataIsDisplayedAs2D, visibleXRange, factory, pointSeriesArg)
デフォルトの YValue を IPointSeriesに変換し、XY シリーズをレンダリングするために使用されます。
- resamplingMode
- The desired ResamplingMode
- pointRange
- 整数インデックスは、親データセットの範囲
- viewportWidth
- viewport の現在の幅
- isCategoryAxis
- もしtrueなら、インデックスを使用して再サンプルされたX値を形成し、X-Values自体を使う
- dataIsDisplayedAs2D
- もしtrueなら、ポイントと関係なく、scatterシリーズとしてデータが提示されると、e.gはラインシリーズではなく、
- visibleXRange
- 再サンプリング時のXAxis VisibleRange
- factory
- 代表取締役社長 佐藤 正
- pointSeriesArg
- ポイントシリーズに追加のパラメータを追加します。
戻り値: XYシリーズをレンダリングするのに使用される@IPointSeries
public void Update(TX x, TY y, TZ z, int shift)
xyzDataSeries.Update(x, y, z, shift)
指定したX値でY0、Y1値を更新(上書き)します。自動的に再描画をトリガーします。
- x
- X-value の
- y
- Y値の
- z
- Z値の値は
- shift